import bb.cascades 1.0

Page {
    titleBar: TitleBar {
        id: titleBar
        visibility: ChromeVisibility.Visible
        title: lang.help_setting
    }
    Container {
//        horizontalAlignment: HorizontalAlignment.Center
        Container {
            horizontalAlignment: HorizontalAlignment.Center
            topPadding: 50
            layout: StackLayout {
                orientation: LayoutOrientation.LeftToRight
            }
            ImageView {
                imageSource: "asset:///images/help/home1.png"
            }
//            ImageView {
//                imageSource: "asset:///images/picture1.png"
//            }
        }
        Container {
            topPadding: 50
            horizontalAlignment: HorizontalAlignment.Center
            Label {
                multiline: true
                text: lang.help_setting_description
            }
        }
        Container {
            topPadding: 50
            horizontalAlignment: HorizontalAlignment.Center
            Button {
                text: lang.help_setting_end
                
                onClicked:{
                    var count = homeNavigation.count() - 1 ;
                    for (var i=0; i<count; i++){
                        homeNavigation.pop();
                    }
                }
            }
        }
    }
    //    Container {
    //        Button {
    //            text: "next"
    //            
    //            onClicked:{
    //                var count = homeNavigation.count() - 1 ;
    //                for (var i=0; i<count; i++){
    //                    homeNavigation.pop();
    //                }
    //            }
    //        }
    //    }
}
